package com.hutu.service.biz;

import com.hutu.mapper.biz.PublicFieldsMapper;
import com.hutu.model.biz.PublicFields;
import org.springframework.stereotype.Service;
import com.hutu.model.resp.ResponseVo;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 模板 服务类
 * </p>
 *
 * @author admin
 * @since 2023-07-20
 */
@Service
public interface  PublicFieldsService {

    /**
    * 新增
    *
    * @return
    */
    public ResponseVo add(PublicFields publicFields);

    /**
    * 删除
    *
    * @return
    */
    public ResponseVo deleteById(Integer id);

    /**
    * 批量删除
    *
    * @return
    */
    public ResponseVo deleteBatch(List<Integer> ids);

    /**
    * 编辑
    *
    * @return
    */
    public ResponseVo edit(PublicFields publicFields);

    /**
    * 根据ID查找
    *
    * @return
    */
    public ResponseVo findById(Integer id);

    /**
    * 查询列表
    *
    * @return
    */
    public ResponseVo list(Integer current,Integer size,String name);




}




